package com.example.demo.create.factory.factory_method;

import com.example.demo.create.factory.entity.Phone;
import com.example.demo.create.factory.intf.ElectricProduct;

/**
 * Created by zzz on 2021/1/28 下午11:18
 */
public class PhoneFactory extends AbstractFactory {
    @Override
    public ElectricProduct createProduct() {
        return new Phone();
    }
}
